package com.hospital.doctor.mapper;

import com.hospital.doctor.pojo.Prescription;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PrescriptionMapper {
    List<Prescription> selectAllBypId(int pId);
    Prescription selectAllBypIdbb(int pId);
    int stopPrescription(int prId);

//    int insertPrescription(List<Prescription> list);
    int insertPrescription(Prescription prescription);



}
